SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '334b5dba4418f1c8cd57a0f429cd054a0c1f58d7c95b754c4019b61d7e2d6592' 
  AND token = 'aKKNUS+FIR6LDJYKg+Acbykbg8WILPx6/Aa4WzR66jw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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