SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '80a07ffd734baca1a1fff61c93e5483f2cd7a862e4c0a0f1ed737ff8540b6fd9' 
  AND token = 'n/SBu1oyU7OmN92IW/9X76CF2HiepnGF/rbPL130Hqc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}