SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39f1bc2e8004cf63956a08061c1b12f34f4be4d91088fe342ab318b33c836887' 
  AND token = 'GI5ef5g8WvRm9bzVd62fDYG0P8IjNTOF2/zh5+YfoH8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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