SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49131ed6fdb50d3f35e5bf800a7cf08c33afda6350a24085f893c37fa3b43f7c' 
  AND token = 'bnwXSKqJqru5pN6bRuy9BaAPPbqFNbBzSq5bA2XLeqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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