SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ec780e6c8f66e3a7f956e53596ff19e83d83f8bb9638db31451dc6b097f7d09' 
  AND token = 'y24hUTfCxqB1jTopmUVjH1PO88/TZc4hep2vbdOnloU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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