SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a05b97705d206e1e1bc9f5297e8d5da8a745857373d2934549940c592cd9f1e2' 
  AND token = 'b9X5XH7iHwWplYWoluz/36f9rl17ho3vnPX1Nu+HiO0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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