SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccde418e75e1d0b7ba79e29dcf213789f938012fb9135e7a7333596295933ffa' 
  AND token = 'tPxyzJOoZJ0OO7YU0Rt+K209uEtWAxtIR1vm5HnoKOI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00410

JSON explain

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