SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a09f3a2040b8175a2da1e0993c41a1e42888047a9254f80a029768a172183c0' 
  AND token = '+f//MoPHPuzYI4DcrNrQRK8Wx20zLwwTii1yP555jas=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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