SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecc4bc18fafd911771e655777b2ec12fa58e88c640d1fd3ca284411f2f38f3b3' 
  AND token = 'XFEGlw5Snl444FShDyiSpI5NC+yeO+Qxj3oB1OLT6VI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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