SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0897b731214378da75bc42ffd0463ec3f778f41572f857fbb7e775c2de6133ef' 
  AND token = 'Qef0q864R+t+AO8ubVws/HqAmcHr+3hZHxd/mAi3Hmc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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