SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '845cbaea024a4a8c86b1ee128ca6b2a2f8f1dea90c4bf2929166e93fed4ffa24' 
  AND token = 'JRhpw4uiwAWyj1A7a/g1MGQPol7PDV0GI3Y00F37Wew=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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