SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c34752ad480aba12e3bfcfed6907bab70203f6c334f876fef3d235ed58af123' 
  AND token = 'ODJUWNttmsV1ZdMFs2MeE742XpabaTMa3ZEO4+VZ7r8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}