SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21c58e77d2352628b5829c29ef53c8045f0b548dd08c006af4a5cffce66122d4' 
  AND token = '7R91dtqzSgc7WpTqhMWcS/ombqv81FJXOF6upr9WjoI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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