SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5117a69b18db82fd444bafc530af030d5f609bb4bf62d75d9841643863be2fec' 
  AND token = 'FXOJhPizm9W+U8xJqas51jri2gN+OTbx48ToyfOOcC8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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