SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ae130eaae19beda209ead514ddd4368198cda15adb2c8d0173afc387e64a94b' 
  AND token = 'HsFtM1z0EDYw7Ur9HZ/9mlNUqhLf6eip7BJcYkj4yhc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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