SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fa0ed09732159ec437654d3792457492493ce2b978e7d6a3a2895ae2ea700e1' 
  AND token = 'h5qOyuokjdkus+EOpAgygDcOP9t1BDp5m8rr3muLAaE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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