SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04591fb7dcb8ebd4522144fe0451aaa86a8d69174b83d53feb9a7b6cdb80b5bd' 
  AND token = 'JZ56lPn5KruhQA1+sTcOl2ryMa2wlHAqLrq0p3jAegY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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