SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '165864aaec0a43021991574335618f6b270b12c1ba497e247feed3aa6d5925dc' 
  AND token = 'emhsqpvAmubTTRW+KiMiYNaigbR7BZRpFZOmUr1LwwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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