SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a54546509e2059f481b5502f375e441e8cfd255554a4491d2a5a79780869a1de' 
  AND token = 'os7yWp8dMjcgX1k3LZS0bQ306vKThQkdw750+n69q3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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