SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3252520b4e02973988591ae4a728cab87502e9df54be141d489bbc56d079d3d' 
  AND token = '9bFYCp43/LUgR6E51iw3260rb/Z7ws9mc8V6ElFaBX4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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