SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5fcdd1554dccbe039a81cc06c3049e24e53e1c8a682b7e843a25974171d6d09b' 
  AND token = '0my+B6ODq7BBJcej+pzKEKPSoK0JCMJpLCOIfvpSJa4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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