SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312be93bfbd1f3709741db347265c9980d74e4d9beabcb192720ea9e8118a0b7' 
  AND token = 'jMOMuxXho3Xp5mAh77wxALAMJL8xZZFcxIvN9vH2Eao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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