SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '405a77dc16ac3644b582308b9d3b74d629159c8504984fe307c0c8a611dc005d' 
  AND token = 'XhRIc916BamnFsnofuv7CbTak5JH5JDvzSkle7+mVOo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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