SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04394691185a8e60732026c1345623b89b7d765472be656aad4c2e61e2da2555' 
  AND token = 'fTpigoK7OaPKnqIFIfPISN54iQqjx2xd9sFQ1HDamAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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