SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87047508efbfc4839350a3d6a9b7c04a5265f5a32017a25c22aa997e069e83e1' 
  AND token = 'XOght914lqOPBanQWwe9zkZelBONRKWGkOol336kzXc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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