SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd168834533eba56170fac15c5aefc46562da896f0c1d47544f6c3d076c310e66' 
  AND token = '1J4q/KulpTO1B75kIsMh77s9d+bH8mSP8scvXDzx74U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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