SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '418e5cc020530adf63add096a74762ece3474b197aedd4bd62379c361e9a6d5f' 
  AND token = 'zLlgxvSceum1kM5oooz750ZRYM+fQ95nt8ujzYKYKTw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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