SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '265f56035817bac3097ba05077ee4ec0239e3e7b8c30e92f710d1f3668021991' 
  AND token = 'CnnD1cIo/NTVbrfSS1ac4Euqq3bm5FDIZoAJmOaovIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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