SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7629a866fbf9efd0d46d7ac167e99216c002876f1b8065ee1f23d73c4b0db988' 
  AND token = 'YD2X19XTx/sIDKqH2dOt4UgnV0DetRpoNLlFhsd+UNs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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