SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '863e6baef2234d2fad7dff7b455b88812a156fb9a5d9f1131ca0345b4bebb0b8' 
  AND token = 'DQ5Pz1hL99Cd1M6BSWhWc3LMC9ZYu6oR6zIaExbymoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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