SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd30dc1183a6c4ce66e8bb8d75cf6e8d9038c2dec4ab54dfe8da9bf5defad164d' 
  AND token = 'M5bhySfHQI3FD74rGrTN2FYxuLBqXQPDP97U/X7gV8A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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