SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8040acfadcb8eb425b2900f04e45fffc230dabe8429bf3bee6b90f74c99944f4' 
  AND token = 'qhWn/wmR+14WL27TzKBw7VnrIBMq7yD1IHogo98Oa7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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