SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9a481bd35d365e53a9334932c38e723d29d5c8ebc1f7463fd14e7389c8e5a47' 
  AND token = 'bgTJa6eXkbeC/sH5ghkL+RzbjWsC2gCQg/P+O0HVZ8E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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