SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '586d2402c3085af95937ffb15f68933a7db3a8088b691e8c5dd6920907bf3047' 
  AND token = '8//4qX3AH8gdu/nXdMgNcKWp8OqXErPzaJM8KYL+F4o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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