SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cfa1fa5743f7108ef02b1d19ee8c22014b96811da471e1d446491f8cc31953d7' 
  AND token = 'JR4zal/Ag/QEOsccpvGrAAtnGX/ke8XTeFmZXbz3vks=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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